Creating new objects and folders

How to create a new →object or a new →folder in the →project:

  1. Select a folder of the project in which you want to create the new object/folder. This existing folder will be the parent folder. (But it is possible to change the parent folder in the dialog when entering the name of the object/folder).
    (info) If the folder is displayed with the decorator  at the name, the folder is a read-only folder. Subsequently, it is not possible to create new objects/folders in this read-only folder within the application navigator. If you are interested in how to transform a folder into a read-only folder, please contact Neuron for the relevant information that is included in the documentation "Administrator's Manual".
    Recommendation by Neuron on the location of new objects:
    (info) Create a new object only within a folder that is displayed within the view containing the projects/resources by default. Example: folder src 
    (warning) Do not create a new object within a folder that is hidden within the view containing the projects/resources by default. Examples: folder target and src-gen – If you do anyway, it is not possible to use blocks of such objects within the editors (see "Block or library is not available in projects" for details).

  2. In menu File or from the context menu of the folder, select New and one of the following commands (depending on the →resource you want to create). See "List of possible objects".
    (info) By using the provided command Other... instead, a wizard is opened. In this wizard, expand the group Other or General, select one of the resources in this group and click Next >.
    (info) Your Neuron Power Engineer version might provide several object templates in a wizard, when you select the command for an object. If in doubt about what to select, the best practice is to select the object template Default template and to click Next >

  3. In the dialog or in the wizard, enter the name of the object in File name or Folder name.
    If other fields are provided as well, enter/select these fields as appropriate.

  4. If you want to create a →linked resource, click Advanced >>. Then check Link to file in the file system or Link to alternate location (Linked Folder), type in the full path or click the button Browse to locate the file or folder on the file system.

  5. Click Finish.
    Result: The view displays the appropriate resource. It is opened in the assigned default editor

List of possible objects

 

 

Command available in

Ressource

Command

menu "File"

context menu

project

See "Creating new project", if you want to create a project.

 

 

library configuration

Library Configuration
(not provided in all variants of Neuron Power Engineer)

(tick)

(tick)

Data type

Data Type

(info) A →data type is an ST-object with the ST-syntax for the respective data type.
Special case: →Enums are realized as enum-objects (as data types with named elements within an ST-object).

(tick)

(tick)

FBD-object

FBD Program, FBD Function Block and FBD Function
(not provided in all variants of Neuron Power Engineer)

 

(tick)

global-object

Global-Object

 

(tick)

LD-object

LD ProgramLD Function Block and LD Function
(not provided in all variants of Neuron Power Engineer)

(tick)

(tick)

ST-object

ST-Object

(tick)

(tick)

ST ProgramST Function Block, ST Class and ST Function

(info) These objects are ST-objects with the ST-syntax for the respective language element →program→function block, →class or →function.

 

(tick)

folder

Folder

 

(tick)

generic
object

File

 

(tick)

More commands to create other objects might be provided in your used Neuron Power Engineer version.

 

 

Command available in

 

Ressource

Command

menu "File"

context menu

ST-interface

ST-Interface

(tick)

(tick)

device object

Device Object
(not provided in all variants of Neuron Power Engineer)

(tick)

(tick)

PLC-object

PLC-Object

(tick)

(tick)

VarCfg-object  

VarCfg-Object

 

(tick)

List of objects and the default editor

Resource (with icon)

Meaning

Assigned default editor

name

→library configuration (object to create →libraries)Library configurations have the file extension .lc3lib. See the following note.

editor for library configurations – see "Syntax for library configuration"

libraries

→library reference (object to manage →libraries) – By default, the library reference is not visible within the view containing the projects/resources and it cannot be created.
The library reference has the file extension .libref. See the following note.

editor for library reference – see "Using the library reference and its syntax"

name

FBD-object (object with FBD-code or logic)

FBD-objects have the file extension .iecfbd. See the following note.

FBD-editor

name

global-object (object for the central declaration of global variables)

Global-objects have the file extension .global. See the following note. 

global-variables-editor

name

LD-object (object with ladder diagram)

LD-objects have the file extension .iecld. See the following note.

LD-editor

name

ST-object (object with ST-code for your application in ST)

ST-objects have the file extension .iecst. See the following note.

ST-editor

name

enum-object (data type with named elements within an ST-object)

enum-editor

name

→folder

name

→linked folder

name

generic object

text editor

You may open a text editor without creating a file first: context menu for project, New, Other..., group General, Untitled Text File

More objects and default editors might be provided in your used Neuron Power Engineer version.

Resource (with icon)

Meaning

Assigned default editor

name

ST-interface (object with the interface for your application in C

ST-interfaces have the file extension .iecif. See the following note.

ST-editor

name

device object (object for the device configuration)

Device objects have the file extension .device. See the following note.

editor for the device object

name

PLC-object (object with information on PLC, available as ST-code)

PLC-objects have the file extension .iecplc. See the following note.

editor for PLC-object

name

VarCfg-object (object for the central declaration of VAR_CONFIG sections)

VarCfg-objects have the file extension .varcfg. See the following note. 

ST-Editor

Note: The file extensions (e.g. .iecst) are not displayed in the view containing the projects/resources. But if you rename the appropriate objects in Neuron Power Engineer, the appropriate file extension is visible. Do not manipulate the file extension! If you do nevertheless (e.g. you delete the file extension or you change the file extension to upper case letters), the file is not recognized as appropriate object (e.g as ST-object) any longer.